#ifndef D3DCONFIGURATION_H
#define D3DCONFIGURATION_H

// Compiling for Windows XP and up.
#ifndef _WIN32_WINNT
#define _WIN32_WINNT   0x0600 // Vista
#endif

// Enable debug if we are in debug mode.
#if defined(DEBUG) || defined(_DEBUG)
#ifndef D3D_DEBUG_INFO
#define D3D_DEBUG_INFO
#endif
#endif

#if defined(DEBUG) || defined(_DEBUG)
#define _CRTDBG_MAP_ALLOC
#include <crtdbg.h>
#endif

#endif // D3DCONFIGURATION_H
